import Vue from 'vue'
import App from './App.vue'
//使用背景图
import plugin from '@/utils/plugin'
//关联路由到Vue实例
import router from '@/router/index'
Vue.use(plugin)
//动画插件
//引入全局css
import '@/assets/base.scss'
//引入Vuex
import store from '@/store'
//引入mitt插件
import mitt from '@/utils/mitt'
//全局关联插件
Vue.prototype.$mitt = mitt;
//引入自定义指令鉴权
import "@/utils/permission"
//全局引入的element-ui
// import ElementUI from 'element-ui';
// import 'element-ui/lib/theme-chalk/index.css';
import '@/element-ui'
Vue.config.productionTip = false
// Vue.use(ElementUI);
new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
